<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="dictCategoryList" checkbox="false" fitColumns="true" title="考勤记录" actionUrl="attentRecordController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="姓名"  field="userName"  hidden="false"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="学号"  field="idUser"   query="false" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="卡号"  field="cardNo"   query="false" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="刷卡时间"  field="time" formatter="yyyy-MM-dd hh:mm"    queryMode="single"  width="120"></t:dgCol>
<%--    <t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar> --%>
   </t:datagrid>
  </div>
 </div>
 <script type="text/javascript">
 $(document).ready(function(){
 		//给时间控件加上样式
 			$("#dictGroupListtb").find("input[name='createDate']").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 });
  
//导出
function ExportXls() {
	JeecgExcelExport("dictCategoryController.do?exportXls","dictCategoryList");
}
 
 </script>